package com.adinnet.api.product.service;

import com.adinnet.api.product.model.Product;
import com.adinnet.api.product.model.vo.ProductDetailsResp;
import com.adinnet.api.product.model.vo.ProductResp;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-03
 */
public interface ProductService extends IService<Product> {

    Page<ProductResp> productList(Integer limit, Integer page);

    ProductDetailsResp productDetails(Integer productId);
}
